.TH "guild_service::detail::service_data_pool< T, Container >" 3 "Thu Jun 3 2021" "Detail" \" -*- nroff -*-
.ad l
.nh
.SH NAME
guild_service::detail::service_data_pool< T, Container > \- 服务数据池类  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <service_data_pool\&.hpp>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBservice_data_pool\fP (\fBpool_index_type\fP \fBsize\fP=64)"
.br
.ti -1c
.RI "void \fBpush\fP (const T &value)"
.br
.ti -1c
.RI "void \fBpush\fP (T &&value)"
.br
.ti -1c
.RI "const T & \fBget\fP (\fBpool_index_type\fP index) const"
.br
.ti -1c
.RI "T & \fBget\fP (\fBpool_index_type\fP index)"
.br
.ti -1c
.RI "bool \fBis_empty_data\fP (const T &data) const"
.br
.ti -1c
.RI "bool \fBset\fP (\fBpool_index_type\fP index, const T &value)"
.br
.ti -1c
.RI "\fBpool_index_type\fP \fBsize\fP () const"
.br
.ti -1c
.RI "void \fBresize\fP (\fBpool_index_type\fP count)"
.br
.in -1c
.SH "Detailed Description"
.PP 

.SS "template<typename T, template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector>
.br
class guild_service::detail::service_data_pool< T, Container >"
服务数据池类 
.SH "Member Function Documentation"
.PP 
.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> T& \fBguild_service::detail::service_data_pool\fP< T, Container >::get (\fBpool_index_type\fP index)\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fIindex\fP 
.RE
.PP
\fBReturns\fP
.RS 4
T& 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> const T& \fBguild_service::detail::service_data_pool\fP< T, Container >::get (\fBpool_index_type\fP index) const\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fIindex\fP 
.RE
.PP
\fBReturns\fP
.RS 4
const T& 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> bool \fBguild_service::detail::service_data_pool\fP< T, Container >::is_empty_data (const T & data) const\fC [inline]\fP"

.PP
\fBReturns\fP
.RS 4
T& 
.RE
.PP
\fBParameters\fP
.RS 4
\fIdata\fP 
.RE
.PP
\fBReturns\fP
.RS 4
true 
.PP
false 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> void \fBguild_service::detail::service_data_pool\fP< T, Container >::push (const T & value)\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fIvalue\fP 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> void \fBguild_service::detail::service_data_pool\fP< T, Container >::push (T && value)\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fIvalue\fP 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> void \fBguild_service::detail::service_data_pool\fP< T, Container >::resize (\fBpool_index_type\fP count)\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fInum\fP 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> bool \fBguild_service::detail::service_data_pool\fP< T, Container >::set (\fBpool_index_type\fP index, const T & value)\fC [inline]\fP"

.PP
\fBParameters\fP
.RS 4
\fIindex\fP 
.br
\fIvalue\fP 
.RE
.PP
\fBReturns\fP
.RS 4
true 
.PP
false 
.RE
.PP

.SS "template<typename T , template< typename Elem, typename Alloc=std::allocator< Elem >> class Container = std::vector> \fBpool_index_type\fP \fBguild_service::detail::service_data_pool\fP< T, Container >::size () const\fC [inline]\fP"

.PP
\fBReturns\fP
.RS 4
pool_index_type 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for Detail from the source code\&.
